package com.placement.refresh.dao;

import java.util.HashMap;

/**
 * @author Anirudha J
 * Jul 24, 2006
 */
public class StoredProcVO {
	
	private String paramName;
	
	private Object paramValue;
	
	private String oracleTypeName;
	
	private Class paramValueClass;
	
	private HashMap oraTypeTojavaClass;
	//
	private int sqlType;
		
	/**
	 * @return 	
	 * //Name of Oracle Type this parameter maps to
	 */
	public String getOracleTypeName() {
		return oracleTypeName;
	}
	/**
	 * @param oracleTypeName 	
	 * //Name of Oracle Type this parameter maps to
	 */
	public void setOracleTypeName(String oracleTypeName) {
		this.oracleTypeName = oracleTypeName;
	}
	/** Input or Output parameter name
	 * @return 	
	 */
	public String getParamName() {
		return paramName;
	}
	/** Input or Output parameter name
	 * @param paramName 	
	 */
	public void setParamName(String paramName) {
		this.paramName = paramName;
	}
	/** //Input parameter value
	 * @return 	
	 */
	public Object getParamValue() {
		return paramValue;
	}
	/** //Input parameter value
	 * @param paramValue 	
	 */
	public void setParamValue(Object paramValue) {
		this.paramValue = paramValue;
	}
	/** //Java class which maps to Oracle Type
	 * @deprecated
	 * @return 	
	 */
	public Class getParamValueClass() {
		return paramValueClass;
	}
	/** //Java class which maps to Oracle Type
	 * @deprecated
	 * @param paramValueClass 	
	 */
	public void setParamValueClass(Class paramValueClass) {
		this.paramValueClass = paramValueClass;
	}
	/** 
	 * @return 	
	 */
	public int getSqlType() {
		return sqlType;
	}
	/**
	 * @param sqlType 	
	 */
	public void setSqlType(int sqlType) {
		this.sqlType = sqlType;
	}
	/** //HashMap where key=ORacle Type Name and Value=mapping java class 
	 * @return 	
	 */
	public HashMap getOraTypeTojavaClass() {
		return oraTypeTojavaClass;
	}
	/** //HashMap where key=ORacle Type Name and Value=mapping java class 
	 * @param oraTypeTojavaClass 	
	 */
	public void setOraTypeTojavaClass(HashMap oraTypeTojavaClass) {
		this.oraTypeTojavaClass = oraTypeTojavaClass;
	}
}
